package org.zjx;

import org.zjx.manager.WindowManager;
import org.zjx.strategy.StrategyFactory;
import org.zjx.strategy.impl.InitStrategy;
import org.zjx.strategy.impl.LoginStrategy;
import org.zjx.strategy.impl.StartStrategy;
import org.zjx.strategy.impl.TestStrategy;

//TIP 要<b>运行</b>代码，请按 <shortcut actionId="Run"/> 或
// 点击装订区域中的 <icon src="AllIcons.Actions.Execute"/> 图标。
public class Main {
    public static void main(String[] args) {
        StrategyFactory.getInstance().registerStrategy(new StartStrategy());
        StrategyFactory.getInstance().registerStrategy(new LoginStrategy());
//        StrategyFactory.getInstance().registerStrategy(new InitStrategy());
        StrategyFactory.getInstance().registerStrategy(new TestStrategy());


        WindowManager windowManager = WindowManager.getInstance(1,"D:\\OneDrive\\桌面\\梦幻西游.lnk");
        windowManager.startMonitoring();
    }
}